import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
  base: '/shoph5/',
  css: {  
    preprocessorOptions: {
      scss: {
        api: 'modern-compiler',
        silenceDeprecations: ['legacy-js-api']
      }
    }
  },
  plugins: [uni()],
  resolve: {
    
    alias: {
        "@": path.resolve(__dirname, "./src") // map '@' to './src' 
    },
  },
});
